home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 356 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  31 lines

  1. Hi dickow,
  2.  
  3. In a message of 08 Jan 96 you wrote to All:
  4.  
  5.  d> Now, the AmiTCP setup I use creates the HOSTNAME environment variable
  6.  d> such that it actually calls this AmiTCP:/bin program of the same name.
  7.  d> Not long ago, however, I discovered some 'other' TCP client software
  8.  d> ('mail' or 'sendmail'...can't remember) that expected the env variable to
  9.  d> be a copy of the string, not the command reference. You might check to
  10.  d> see if other programs want an environment variable with the same name but
  11.  d> different format.
  12.  
  13. The problem I have is that Putmail simply can't read the HOSTNAME variable even
  14. though it exists. I have to use the follwing two command lines in my startmail
  15. script to make it work:
  16.  
  17.  set PutMailHOST `getenv HOSTNAME`
  18.  setenv HOSTNAME `get PutMailHOST`
  19.  
  20. These look obviously redundant, but it works. After doing this Putmail can read
  21. the HOSTNAME variable. Any ideas?
  22.  
  23. Regards,
  24.  
  25.  Mark
  26.  
  27. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  28.  mpa@wvision.iig.com.au                                Cairns
  29.  Wishful Vision                                     Australia
  30.  
  31.